<div class="tm-content">
    <ul class="am-list am-list-border">
        <li class="am-padding-xs am-padding-left">
            <ol class="am-breadcrumb am-margin-0 am-padding-0">
                <li><a href="/">首页</a></li>
                <li class="am-active">消息提示</li>
            </ol>
        </li>
        <?php if (empty($list)): ?>
            <li class="am-padding am-nbfc am-text-center am-text-sm">
                暂无消息提示
            </li>
        <?php else: ?>
            <?php foreach ($list as $key => $value) : ?>
                <li class="am-padding am-nbfc">
                    <div class="tm-group">
                        <div class="tm-group-head">
                            <a href="<?= $label->url('Master-Article-user', ['id' => $value['user_id']]); ?>"><img src="<?= $value['user_head']; ?>" class="am-img-thumbnail" alt="" width="48" height="48"></a>
                        </div>
                        <div class="tm-group-item">
                            <div class="am-text-sm">
                                <a href="<?= $label->url('Master-Article-user', ['id' => $value['user_id']]); ?>"><?= $value['user_name']; ?></a>
                                在
                                <a href="<?= $label->url('Master-Article-view', ['id' => $value['timelog_id']]); ?>"><?= $value['timelog_title']; ?></a>
                                <?= $value['tips_type'] == '0' ? '中@到您' : '回复了'; ?>
                                <time datetime="<?= date('Y-m-d H:i', $value['tips_time']); ?>" title="<?= date('Y-m-d H:i', $value['tips_time']); ?>"> <?= $label->timing($value['tips_time']); ?></time>
                            </div>
                            <div class="am-text-sm am-alert am-alert-secondary tm-at-tips-a-color am-margin-bottom-0">
                                <?= htmlspecialchars_decode($value['timelog_comment']); ?>
                            </div>
                        </div>
                    </div>
                </li>
            <?php endforeach; ?>
            <li>
                <ul class="am-pagination am-pagination-right am-margin-right-sm am-text-xs">
                    <?= $page; ?>
                </ul>
            </li>
        <?php endif; ?>
    </ul>

</div>
